package com.foruo.learn.designmode.mediator;

/**
 * 具体的中介类
 * @author GaoYuan
 * @date 2018/11/11 上午8:58
 */
public class ConcreteMediator extends Mediator{

    /**
     * 具体的发送消息方法
     * @author GaoYuan
     * @date 2018/11/11 上午8:59
     */
    @Override
    void sendMessage(Colleague colleague, String msg) {
        System.out.println("【" + colleague.getName() + "】：" + msg );
    }
}
